#ifndef PROCESS_H_
#define PROCESS_H_

class IProcess
{
public:
	virtual bool init() = 0;
	virtual void start() = 0;
	virtual void stop() = 0;
	void puase() = 0;
	void resume() = 0;
	void update(int ms) = 0;
};

class ProcessMgr
{
public:
	ProcessMgr();
	~ProcessMgr();

	bool add_process(IProcess* p);
	bool remove_process(IProcess* p);
	bool execute();

private:

};


#endif